package com.springbootx.mybatis.config.transactional;

import com.springbootx.mybatis.config.DataSourceType;

import java.lang.annotation.*;

/**
 * <p></p>
 *
 * @author Tony.niu (hystrix0779@yeah.net)
 **/
@Target({ElementType.METHOD, ElementType.TYPE,ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MoreTransaction {
    DataSourceType[] value() default {};
    IsolationLevel isolationLevel() default IsolationLevel.TRANSACTION_READ_UNCOMMITTED;
}
